package cate.common.table.activity.specialtraining.card;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "特训活动-页签 Row")
public class SpecialTrainingCardRow extends ERow {
    @NoteField(value = "天数")
    public int day;
    @NoteField(value = "分组")
    public int group;
    @NoteField(value = "标题")
    public String title;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        id = xrw.getInteger("ID");
        day = xrw.getInteger("天数", 0);
        group = xrw.getInteger("分组", 0);
        title = xrw.getString("标题");
    }
}
